package com.chenyue.cm.live.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.base.dao.LcBaseMapper;
import org.springframework.beans.factory.annotation.Qualifier;
import com.chenyue.cm.live.dao.JdLiveTypeMapper;
import com.chenyue.cm.live.domain.JdLiveType;
import com.chenyue.cm.live.service.JdLiveTypeService;
import org.springframework.stereotype.Service;


/**
 * @author chenyue-cm
 */
@Service(value = "JdLiveTypeService")
public class JdLiveTypeServiceImpl extends BaseServiceImpl<JdLiveType> implements JdLiveTypeService {

    private final JdLiveTypeMapper jdLiveTypeMapper;

    public JdLiveTypeServiceImpl(@Qualifier("jdLiveTypeMapper") JdLiveTypeMapper jdLiveTypeMapper) {
        this.jdLiveTypeMapper = jdLiveTypeMapper;
    }

    @Override
    @Resource(name = "jdLiveTypeMapper")
    public void setBaseMapper(LcBaseMapper<JdLiveType, Serializable> baseMapper) {
        this.baseMapper = baseMapper;
    }

}
